import request from '@/utils/request'
export function getShopInfo(data) {
  return request({
    url: 'shop/getShopInformation',
    method: 'POST',
    data
  })
}
export function updateShopInfo(data) {
  return request({
    url: '/api/admin/shop/updateShopInfo',
    method: 'POST',
    data
  })
}
export function getHonorList(data, pageNum, pageSize) {
  return request({
    url: '/api/admin/shop_expand/getHonorList',
    method: 'POST',
    data,
    headers: { pageNum: pageNum, pageSize: pageSize }
  })
}
export function addOrUpdHonor(data) {
  return request({
    url: '/api/admin/shop_expand/addOrUpdHonor',
    method: 'POST',
    data
  })
}
export function getHonorInfo(data) {
  return request({
    url: '/api/admin/shop_expand/getHonorInfo',
    method: 'POST',
    data
  })
}
export function delHonor(data) {
  return request({
    url: '/api/admin/shop_expand/delHonor',
    method: 'POST',
    data
  })
}
export function addOrUpdShopExpand(data) {
  return request({
    url: '/api/admin/shop_expand/addOrUpdShopExpand',
    method: 'POST',
    data
  })
}
export function getShopExpand(data) {
  return request({
    url: '/api/admin/shop_expand/getShopExpand',
    method: 'POST',
    data
  })
}
export function updateShopPassword(data) {
  return request({
    url: '/api/admin/shop/updateShopPassword',
    method: 'POST',
    data
  })
}

